package com.smartao.core.license;

public enum LicenseType {
	Evaluation("试用版"), Commercial("正式版"), Developer("演示版");

	private String description;

	private LicenseType(String description) {
		this.description = description;
	}

	public LicenseType parseType(String name) {
		try {
			return LicenseType.valueOf(name);
		} catch (Exception e) {
			return Evaluation;
		}
	}

	public String getDescription() {
		return description;
	}

}
